synthetic division with polynomials